home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 February: Technology Seed / Mac Tech Seed Feb '97.toast / OpenDoc 1.2b2c1 / OpenDoc / Interfaces / IDL / Polygon.idl < prev    next >
Encoding:
Text File  |  1997-01-01  |  1.4 KB  |  66 lines  |  [TEXT/MPS ]

  1. //#
  2. //#    File:        Polygon.idl
  3. //#
  4. //#    Contains:    xxx put contents here xxx
  5. //#
  6. //#    Written by:    xxx put writers here xxx
  7. //#
  8. //#    Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9. //#
  10. //#    Change History (most recent first):
  11. //#
  12. //#         <1>     5/23/94    RR        first checked in
  13. //#
  14. //#    To Do:
  15. //#
  16.  
  17. //# For AltPoly
  18.  
  19. #ifndef _POLYGON_
  20. #define _POLYGON_
  21.  
  22. #ifndef _ODTYPESM_
  23. #include "ODTypesM.idl"
  24. #endif
  25.  
  26. #if defined(__SOMIDL__) && defined(EMIT_POLYGON)
  27. #pragma somemittypes on
  28. #endif
  29.  
  30. //==============================================================================
  31. // ODContour
  32. //==============================================================================
  33.  
  34. typedef ODByteArray ODContour;
  35.  
  36. /*
  37.     struct ODContour {
  38.        ODSLong  nVertices;          // Variable-size struct:
  39.        ODPoint  vertex[1];          // Array size is actually nVertices
  40.     };
  41. */
  42.  
  43. //==============================================================================
  44. // ODPolygon
  45. //==============================================================================
  46.  
  47. typedef ODByteArray ODPolygon;
  48.  
  49. /*
  50.     struct ODPolygon {
  51.       ODSLong       nContours;                // Variable-size struct:
  52.       ODContour  firstContour;        // Rest of contours follow after first
  53.     };
  54. */
  55.  
  56. #if defined(__SOMIDL__) && defined(EMIT_POLYGON)
  57. #pragma somemittypes off
  58. #endif
  59.  
  60. module OpenDoc_Polygon 
  61. {
  62.     const string OpenDoc_Polygon_Version = "1.0.";
  63. };
  64.  
  65. #endif //# _POLYGON_
  66.